<template>
  <div id="app">
    <Header></Header>
    <div class="contain">
      <!-- left -->
      <Siderbar class="siderbar"></Siderbar>
      <!-- right -->
      <Container class="main"></Container>
    </div>
  </div>
</template>

<script>
import Header from '@/components/Header'
import Siderbar from '@/components/Sidebar'
import Container from '@/components/Container'

export default {
  components: {
    Header,
    Siderbar,
    Container,
  }
}
</script>

<style lang="less">
*{
	margin: 0;
	padding: 0;
}

#app {
  font-family: Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
  justify-items: center;
  width: 100vw;
  height: 100vh;
}

.contain{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 90vw;
  min-width: 900px;
  margin: 0 auto;
  .siderbar{
    // background-color: aqua;
    max-width: 200px;
    flex: 1 3 auto;
  }
  .main{
    // background-color: aquamarine;
    flex: 11 1 auto;
  }
}

</style>
